SureCart\Models\Price S

Total Complexity 48
Dependencies 3
Dependents 8
Total lines 379
Lines of code 180
Logical lines of code 61
Comment lines 149
Methods 21
Properties 4

Methods 21

Method Rating Maintainability Complexity Lines of code
getDisplayAmountAttribute()
S
61 5 12
getShortIntervalTextAttribute()
S
51 3 29
getIntervalTextAttribute()
S
51 3 29
getPaymentsTextAttribute()
S
63 3 11
getIsOnSaleAttribute()
S
71 3 6
getConvertedAmountAttribute()
S
71 3 6
getConvertedAdHocMinAmountAttribute()
S
71 3 6
getConvertedAdHocMaxAmountAttribute()
S
71 3 6
getSetupFeeTextAttribute()
S
64 3 10
getSetupFeeDisplayAmountAttribute()
S
70 3 6
getTrialTextAttribute()
S
64 2 12
sync()
S
69 2 7
getIntervalCountTextAttribute()
S
70 2 6
getScratchDisplayAmountAttribute()
S
78 2 3
getShortIntervalCountTextAttribute()
S
70 2 6
getIsZeroDecimalAttribute()
S
80 1 3
create()
S
73 1 5
update()
S
73 1 5
setCurrentSwapAttribute()
S
79 1 3
delete()
S
71 1 6
getCurrencySymbolAttribute()
S
80 1 3